Uses of Class
ddejonge.bandana.calculators.Team
Package | Description |
---|---|
ddejonge.bandana.calculators | |
ddejonge.bandana.tournamentObserver |
-
Uses of Team in ddejonge.bandana.calculators
Methods in ddejonge.bandana.calculators that return types with arguments of type Team Modifier and Type Method Description static java.util.List<Team>
Team. generateTeams(java.lang.String... memberNames)
Returns a list of Teams in which each team contains exactly one member.static java.util.List<Team>
Team. generateTeams(java.util.List<java.lang.String> memberNames)
Returns a list of Teams in which each team contains exactly one member.Methods in ddejonge.bandana.calculators with parameters of type Team Modifier and Type Method Description void
ScoreCalculator. addResult(GameResult newResult, Team team)
This method is called by the TournamentResult object, after every finished game, for each team. -
Uses of Team in ddejonge.bandana.tournamentObserver
Methods in ddejonge.bandana.tournamentObserver that return Team Modifier and Type Method Description Team
TournamentData. getTeamByName(java.lang.String teamName)
Returns the Team with the given teamName.Methods in ddejonge.bandana.tournamentObserver that return types with arguments of type Team Modifier and Type Method Description java.util.List<Team>
TournamentData. getTeams()
java.util.List<Team>
TournamentData. getTeamsSorted()
Returns the list of teams, sorted according to the scoreCalculators of this TournamentData object (the team with the best score will be first in the list).java.util.List<Team>
TournamentData. getTeamsSorted(java.util.List<ScoreCalculator> scoreCalculators)
Returns the list of teams, sorted according to the given scoreCalculators (the team with the best score will be first in the list).Methods in ddejonge.bandana.tournamentObserver with parameters of type Team Modifier and Type Method Description java.lang.String
TournamentData. getScoreString(Team team)
Constructor parameters in ddejonge.bandana.tournamentObserver with type arguments of type Team Constructor Description TournamentData(int numParticipants, java.util.List<Team> teams, java.util.List<ScoreCalculator> scoreCalculators)
TournamentObserver(java.lang.String tournamentLogFolderPath, java.util.List<Team> teams, java.util.List<ScoreCalculator> scoreCalculators, int numGames, int numParticipants)